﻿@model STX.Admin.Models.TabAdministrator.AddModel
@{
    Layout = null;
}

<form class="pageForm addpage" action="@Url.Action("saveadd")" method="post">
    <div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
        <div class="pageFormContent" ratio="*">

            <table style="width:100%">
                <tr>
                    <td>角色：</td>
                    <td>@(Html.DropDownListFromEnum<STX.Domain.PositionEnum>(0,"Position"))</td>
                </tr>
                <tr>
                    <td width="20%">登录账号：</td>
                    <td width="80%"><input type="text" value="" size="30" name="Username" class="textInput" /></td>
                </tr>
                <tr>
                    <td>密码：</td>
                    <td> <input type="text" value="" size="30" name="Password" class="textInput" /></td>
                </tr>
                <tr>
                    <td>姓名：</td>
                    <td> <input type="text" value="" size="30" name="Name" class="textInput" /></td>
                </tr>
                <tr>
                    <td width="20%">地方：</td>
                    <td width="80%">@Html.CheckBoxList("AreaIds",Model.Areas,null)</td>
                </tr>
            </table>
        </div>

        <div class="formBar" ratio="#30">
			<ul>
				<div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div>
			</ul>
		</div>
    </div>
</form>